
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol FLUpdateViewDelegate <NSObject>
-(void)CPUpdateViewUpdateClose;//关闭
-(void)CPUpdateViewUpdateBtnClicklink:(NSString *)link link_type:(int)link_type is_force:(int)is_force;//立即更新
@end
@interface PUUpdateView : UIView
@property (nonatomic,assign) id<FLUpdateViewDelegate>delegate;
-(instancetype)initWithCPUpdateViewInfo:(NSString *)info version:(NSString *)version is_force:(int)is_force link:(NSString *)link link_type:(int)link_type;
-(void)show;

@property(nonatomic,retain)NSString *desc;
@property(nonatomic,retain)NSString *version;
@property(nonatomic)int is_force;
@property(nonatomic,retain)NSString *download_url;
@property(nonatomic)int link_type;
@end

NS_ASSUME_NONNULL_END
